#-------------------------------------------------
#
# Project created by QtCreator 2018-12-05T16:38:26
#
#-------------------------------------------------
＃DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS
DEFINES +=D_USE_FOR_CONTROLLER
#DEFINES  += D_USE_ROS
QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = ProgramLanguageTranslate
TEMPLATE = lib
CONFIG += staticlib

DEFINES += PROGRAMLANGUAGETRANSLATE_LIBRARY

SOURCES += \
    programlanguagetranslate.cpp \
    programregexp.cpp \
    programtexttransfer.cpp \
    programsimplecheck.cpp

HEADERS += \
    programlanguagetranslate.h \
    programlanguagetranslate_global.h \
    programregexp.h \
    programtexttransfer.h \
    programsimplecheck.h

INCLUDEPATH += ../../include/MacroDefine
INCLUDEPATH +=../HmiGsoapQt
INCLUDEPATH +=../ProgramSet
INCLUDEPATH +=../MessageLog



contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
}
contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")

}
contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
}



contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR =../../lib/x86_WINDOWS
#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory_windows
MOC_DIR +=../../build/tmpBuildDirectory_windows
OBJECTS_DIR += ../../build/tmpBuildDirectory_windows
RCC_DIR += ../../build/tmpBuildDirectory_windows
}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR =../../lib

#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory
MOC_DIR +=../../build/tmpBuildDirectory
OBJECTS_DIR += ../../build/tmpBuildDirectory
RCC_DIR += ../../build/tmpBuildDirectory
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR =../../lib-arm

#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory_arm
MOC_DIR +=../../build/tmpBuildDirectory_arm
OBJECTS_DIR += ../../build/tmpBuildDirectory_arm
RCC_DIR += ../../build/tmpBuildDirectory_arm
}
